package com.sms.user.bean;

import java.io.Serializable;
import java.sql.Connection;

import com.sms.bean.BasePageBean;

@SuppressWarnings("serial")
public class UserBean extends BasePageBean implements Serializable{
	private String id;
	private String userid;
	private String username;
//	private String name;
	private String passsword;
	private String classesid;//banji
	private String classesname;
	private String gradeid;
	private String gradename; 
	private String locationname;//籍贯 su.imgurl as imgurl,su.identity as identity,su.primaryschool as primaryschool,su.midleschool as midleschool,
	private String phone;//联系方式
	private String qqnumber;//qq号
	private String primaryschool; //小学
	private String midleschool;//初中
	private String seniorschool;//高中
	private String imgurl;//证件照
	private String role;
	private String remember;
//	private String identity;//身份
//	private String permissions;//权限
	private int start;
	private int end;
//	ClassesDaoImpl classImpl=null;
//	GradeDaoImpl gradeImpl=null;
	
	public UserBean(){
//		classImpl=new ClassesDaoImpl();
//		gradeImpl=new GradeDaoImpl();
	}
	public String getUserid() {
		return userid;
	}
	public int getStart() {
		return start;
	}


	public void setStart(int start) {
		this.start = start;
	}


	public int getEnd() {
		return end;
	}


	public void setEnd(int end) {
		this.end = end;
	}


	public void setUserid(String userid) {
		this.userid = userid;
	}
	 
	
//	public String getUsername() {
//		return username;
//	}
//	public void setUsername(String username) {
//		this.username = username;
//	}
	
	
	public String getUsername() {
		return username;
	}
	public String getRemember() {
		return remember;
	}
	public void setRemember(String remember) {
		this.remember = remember;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPasssword() {
		return passsword;
	}
	public void setPasssword(String passsword) {
		this.passsword = passsword;
	}
	public String getClassesid() {
		return classesid;
	}
	public void setClassesid(String classesid) {
		this.classesid = classesid;
	}
	public String getClassesname() {
		return classesname;
	}
	public void setClassesname(String classesid) {
		this.classesname=classesid;
//			this.classesname =  classImpl.getClassesNameById(classesid);
	}
	public String getGradeid() {
		return gradeid;
	}
	public void setGradeid(String gradeid) {
		this.gradeid = gradeid;
	}
	public String getGradename() {
		return gradename;
	}
	public void setGradename(String gradeid) {
			this.gradename=gradeid;
//			this.gradename = gradeImpl.getGradeNameById(gradeid);
	}
	public String getLocationname() {
		return locationname;
	}
	public void setLocationname(String locationname) {
		this.locationname = locationname;
	}
	
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getQqnumber() {
		return qqnumber;
	}
	public void setQqnumber(String qqnumber) {
		this.qqnumber = qqnumber;
	}
	public String getPrimaryschool() {
		return primaryschool;
	}
	public void setPrimaryschool(String primaryschool) {
		this.primaryschool = primaryschool;
	}
	public String getMidleschool() {
		return midleschool;
	}
	public void setMidleschool(String midleschool) {
		this.midleschool = midleschool;
	}
	public String getSeniorschool() {
		return seniorschool;
	}
	public void setSeniorschool(String seniorschool) {
		this.seniorschool = seniorschool;
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	
	
}
